#!/bin/sh
#
# Update selected module
#
# UpdateModule.sh <nFiles> <Project Directory> <Repository WE Root> <update Parameters>
#

test x$1 != x1 && echo "Please select only one file for module commands" && exit 1
ProjDir=${2:?"ProjectDir missing"}
RweRoot=${3:?"RWE missing"}
shift 3

cd $ProjDir
cvs -r update $*
echo --------------------------------------
echo Updating SNiFF+ file status...
sniffaccess -q update_file_info \*/
